export const PageItem = {
  title: '专科评估',
  commUrl: 'https://anfine.huasun-healthcare.com:80/api/assess_special/assessSpecialInfo',
}

// 全面评估特殊信息字段配置
export const assessSpecialFields = {
  assessid: { show: true, label: '全面评估ID', edit: true, type: 'text', required: true },
  name: { show: true, label: '姓名', edit: true, type: 'text', readonly: false, required: true },
  idNumber: { show: true, label: '证件号码', edit: true, type: 'text', readonly: false, required: true },
  
  // 呼吸系统相关字段
  breathFio2: { show: true, label: '呼吸系统-吸氧浓度%', edit: true, type: 'number', min: 0, max: 100 },
  breathSpo2: { show: true, label: '呼吸系统-血氧饱和度%', edit: true, type: 'number', min: 0, max: 100 },
  breathType: { show: true, label: '呼吸系统-氧疗方式', edit: true, type: 'picker', dictCode: 'breath_type' },
  breathOther: { show: true, label: '呼吸系统-其他', edit: true, type: 'textarea' },
  
  // 心血管系统相关字段
  cardioLevel: { show: true, label: '心血管系统-心功能分级', edit: true, type: 'picker', dictCode: 'cardio_level' },
  cardioNum: { show: true, label: '心血管系统-6分钟步行试验', edit: true, type: 'number', min: 0 },
  cardioOther: { show: true, label: '心血管系统-其他', edit: true, type: 'textarea' },
  
  // 筛查相关字段
  capDsc: { show: true, label: '社区获得性感染', edit: true, type: 'textarea' },
  screenDsc: { show: true, label: '癌症/慢病筛查', edit: true, type: 'textarea' },
  otherDsc: { show: true, label: '其他', edit: true, type: 'textarea' },
  note: { show: true, label: '备注', edit: true, type: 'textarea' },
  
  // 系统字段
  createTime: { show: true, label: '创建时间', edit: false, type: 'datetime' },
  createBy: { show: true, label: '创建人', edit: false, type: 'text' },
  updateTime: { show: true, label: '修改时间', edit: false, type: 'datetime' },
  updateBy: { show: true, label: '修改人', edit: false, type: 'text' },
  id: { show: false, label: '主键ID', edit: false, type: 'text' }
}
